package com.ajview.common.core.domain.eneity;

import com.ajview.common.core.domain.BaseEneity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 岗位信息表(SysPost)实体类
 *
 * @author ZhangJunJie
 * @since 2022-07-07 00:16:38
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_post")
public class SysPost extends BaseEneity {
    @TableField(exist = false)
    private static final long serialVersionUID = 353193728046193868L;
    /**
     * 岗位ID
     */
    @TableId(value = "post_id", type = IdType.AUTO)
    private Long postId;
    /**
     * 岗位编码
     */
    @TableField("post_code")
    private String postCode;
    /**
     * 岗位名称
     */
    @TableField("post_name")
    private String postName;
    /**
     * 显示顺序
     */
    @TableField("post_sort")
    private Integer postSort;
    /**
     * 状态（0正常 1停用）
     */
    @TableField("status")
    private String status;

}

